﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DetailLottery.ascx.cs" Inherits="Modules_DetailLottery" %>
<div id="box">
    <h3 id="adduser">CẬP NHẬT THÔNG TIN DỊCH VỤ XỔ SỐ</h3>
    
    <br /><div align="center"><asp:Label ID="lblError" runat="server" Font-Bold="true" /></div><br />
    
    <fieldset id="personal">
        <legend class="lbl">Thông tin mã</legend>
        
        <label>Dịch vụ</label>
        <asp:TextBox ID="txtCmd" runat="server" Width="200px" /><br /><br />
        
        <label>Nhóm nội dung</label>
        <asp:DropDownList ID="ddlGroup" runat="server" DataTextField="Contents" DataValueField="CodeID"></asp:DropDownList><br /><br />
        
        <label>Mã phụ cấp 3</label>
        <asp:TextBox ID="txtParam1" runat="server" Width="80px" />
        <asp:TextBox ID="txtParam2" runat="server" Width="80px" />
        <asp:TextBox ID="txtParam3" runat="server" Width="80px" />
        <asp:TextBox ID="txtParam4" runat="server" Width="80px" />
        <asp:TextBox ID="txtParam5" runat="server" Width="80px" />
        <asp:TextBox ID="txtParam6" runat="server" Width="80px" />
        <i>Ví dụ: HELP, ...</i>     
        
    </fieldset>
    
    <fieldset>
        <label>Tổng số tin trả về: </label>
        <asp:TextBox ID="txtTotalMsg" runat="server" Width="50px" Text="1" />&nbsp;<i>(Nhập tay hoặc tự động, hệ thống sẽ tính tùy theo số tin được nhập)</i><br />
        
        <asp:CheckBox ID="chkStatus" runat="server" Text="Kích hoạt ngay" Checked="true" /><br />
    </fieldset>
    
    <div align="center">
        <asp:Button ID="btnSaveTop" runat="server" Text="Cập nhật" OnClick="btnAdd_Click" CssClass="btn" />&nbsp;&nbsp;<asp:Button ID="btnClearTop" runat="server" Text="Xóa trắng" OnClick="btnClear_Click" CssClass="btn" />&nbsp;&nbsp;<asp:Button ID="btnBackTop" runat="server" Text="Quay lại" OnClick="btnBack_Click" CssClass="btn" />
    </div>
    
    <fieldset id="address">
        <legend class="lbl">Nội dung tin nhắn trả về</legend>
        
        <label>Tin nhắn 1 : </label>
        <asp:TextBox ID="txtContent1" runat="server" Width="450px" Height="100px" TextMode="MultiLine" MaxLength="160" />
        <asp:RequiredFieldValidator ID="rfvContent1" runat="server" ControlToValidate="txtContent1" Text="*" />
        <asp:RegularExpressionValidator ID="revContent1" ControlToValidate="txtContent1" Text="160 max" ValidationExpression="^[\s\S]{0,160}$" runat="server" />
        <input style="width:60px;border:none;" value="160" name="content1" /><br /><br />
        
        <label>Tin nhắn 2 : </label>
        <asp:TextBox ID="txtContent2" runat="server" Width="450px" Height="120px" TextMode="MultiLine" MaxLength="160" />
        <asp:RegularExpressionValidator ID="revContent2" ControlToValidate="txtContent2" Text="160 max" ValidationExpression="^[\s\S]{0,160}$" runat="server" />
        <input style="width:60px;border:none;" value="160" name="content2" /><br /><br />
        
        <label>Tin nhắn 3 : </label>
        <asp:TextBox ID="txtContent3" runat="server" Width="450px" Height="120px" TextMode="MultiLine" MaxLength="160" />
        <asp:RegularExpressionValidator ID="revContent3" ControlToValidate="txtContent3" Text="160 max" ValidationExpression="^[\s\S]{0,160}$" runat="server" />
        <input style="width:60px;border:none;" value="160" name="content3" /><br /><br />
        
        <label>Tin nhắn 4 : </label>
        <asp:TextBox ID="txtContent4" runat="server" Width="450px" Height="120px" Enabled="false" TextMode="MultiLine" MaxLength="160" />
        <asp:RegularExpressionValidator ID="revContent4" ControlToValidate="txtContent4" Text="160 max" ValidationExpression="^[\s\S]{0,160}$" runat="server" />
        <input style="width:60px;border:none;" value="160" name="content4" /><br /><br />
        
        <label>Tin nhắn 5 : </label>
        <asp:TextBox ID="txtContent5" runat="server" Width="450px" Height="120px" Enabled="false" TextMode="MultiLine" MaxLength="160" />
        <asp:RegularExpressionValidator ID="revContent5" ControlToValidate="txtContent5" Text="160 max" ValidationExpression="^[\s\S]{0,160}$" runat="server" />
        <input style="width:60px;border:none;" value="160" name="content5" />
    </fieldset>
    
    <fieldset id="opt">
        <legend class="lbl">Các thông tin khác</legend>

        <label>Cách tính phí : </label>
        <asp:DropDownList ID="ddlMsgType" runat="server" Enabled="false">
            <asp:ListItem Text="0 - Phát sinh từ dịch vụ, không tính tiền" Value="0"></asp:ListItem>
            <asp:ListItem Text="1 - Tính cước khi đến SMSC" Value="1" Selected="True"></asp:ListItem>
            <asp:ListItem Text="2 - Không hợp lệ, không trừ tiền" Value="2"></asp:ListItem>
            <asp:ListItem Text="3 - Trừ tiền ngay" Value="3"></asp:ListItem>
        </asp:DropDownList><br /><br />
        
        <label>Dạng tin : </label>
        <asp:DropDownList ID="ddlContentType" runat="server">
            <asp:ListItem Text="0 - Text" Value="0" Selected="True"></asp:ListItem>
            <asp:ListItem Text="1 - Ringtone" Value="1"></asp:ListItem>
            <asp:ListItem Text="2 - Logo" Value="2"></asp:ListItem>
            <asp:ListItem Text="3 - CLI-ICON" Value="3"></asp:ListItem>
            <asp:ListItem Text="4 - Picture Message" Value="4"></asp:ListItem>
            <asp:ListItem Text="5 - Cute Text (UTF16)" Value="5"></asp:ListItem>
            <asp:ListItem Text="6 - MMS Notify" Value="6"></asp:ListItem>
            <asp:ListItem Text="7 - WAP Bookmark" Value="7"></asp:ListItem>
            <asp:ListItem Text="8 - WAP Indicator" Value="8"></asp:ListItem>
            <asp:ListItem Text="9 - Bussiness Card" Value="9"></asp:ListItem>
            <asp:ListItem Text="10 - vCalendar" Value="10"></asp:ListItem>
        </asp:DropDownList><br /><br />
        
        <label>Kiểu xử lý : </label>
        <asp:DropDownList ID="ddlProcessType" runat="server">
            <asp:ListItem Text="Trả ngay" Value="0" Selected="True"></asp:ListItem>
        </asp:DropDownList><br />
    </fieldset><br />
    
    <div align="center">
        <asp:Button ID="btnAdd" runat="server" Text="Cập nhật" OnClick="btnAdd_Click" CssClass="btn" />&nbsp;&nbsp;<asp:Button ID="btnClear" runat="server" Text="Xóa trắng" OnClick="btnClear_Click" CssClass="btn" />&nbsp;&nbsp;<asp:Button ID="btnBack" runat="server" Text="Quay lại" OnClick="btnBack_Click" CssClass="btn" />
    </div>
</div>